import pytest


@pytest.fixture()
def fun():
    print("---fixture")


@pytest.fixture()
def fun2():
    print("---fixture2")


def test_a(fun):
    print("--------------test_a")


@pytest.mark.usefixtures('fun')
@pytest.mark.usefixtures('fun2')
class Test01:
    def test_b(self):
        print("--------------test_b")

    def test_c(self):
        print("--------------test_c")